<layout name='Layout/layout_page' />

	<ol class="breadcrumb">
		<li><a href="<{:U('Message/index')}>">站内信</a></li>
      	<li class="active">单发消息</li>
    </ol>
	
	<form id="ajaxForm" class="form-horizontal form-validata" action="<{:U('Message/singleSave')}>" method="post">

		<div class="form-group">
			<label class="col-md-1 control-label" for="title">会员编号</label>
			<div class="col-md-3">
				<input type="text" name="userid" id="userid" class="form-control" value="<{$userid}>" data-rule-required="true">
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label" for="title">标题</label>
			<div class="col-md-6">
				<input type="text" name="title" id="title" class="form-control" data-rule-required="true">
			</div>
		</div>

		<div class="form-group">
			<label class="col-md-1 control-label" for="keywords">内容</label>
			<div class="col-md-6">
				<textarea name="content" class="form-control areatext" data-rule-required="true"></textarea>
			</div>
		</div>


		<div class="form-group">
			<div class="col-md-11 col-sm-offset-1">
				<button type="submit" class="btn btn-info"><i class="icon-edit icon-white"></i> 发送消息</button>
			</div>
		</div>
	</form>
	
</div>
<input type="hidden" id="menu_action" value="message" />